package com.wzy.designpattern.creational.builder;

/**
 * 描述
 * 创建人    Wzy
 * 创建时间: 2020-05-15  18:11
 */

public class CourseActuaBuilder extends CourseBuilder {
    private Course course = new Course();

    @Override
    public void buildCourseName(String courseName) {
        course.setCourseName(courseName);
    }

    @Override
    public void buildCoursePPt(String PPT) {
        course.setCoursePPT(PPT);
    }

    @Override
    public void buildCourseVideo(String courseVideo) {
        course.setCourseVideo(courseVideo);
    }

    @Override
    public void buildCourseArticle(String Article) {
        course.setCourseArticle(Article);
    }

    @Override
    public void buildCourseQA(String courseQA) {
        course.setCourseQA(courseQA);
    }

    @Override
    public Course makeCourse() {
        return this.course;
    }
}
